package org.robot.scm.utils;

import java.util.UUID;

/**
 * @Author : Awn create on 2024/6/20 11:38
 */
public class RandomUtil {

    public static String uuidNoLine() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static String uuidNoLine(boolean upper) {
        if (upper) {
            return uuidNoLine().toUpperCase();
        }
        return uuidNoLine();
    }

}
